projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
298974b
)
inspector: Add missing directory when scanning for themes
author
Benjamin Otte
<otte@redhat.com>
Tue, 21 Oct 2014 18:30:07 +0000
(20:30 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Tue, 21 Oct 2014 18:31:05 +0000
(20:31 +0200)
gtk/inspector/visual.c
patch
|
blob
|
history
diff --git
a/gtk/inspector/visual.c
b/gtk/inspector/visual.c
index acd3c8e05fefdca89f56a923dbd739e55f4c9807..9e97501bad1c35d1b28819dacfc0233360557b85 100644
(file)
--- a/
gtk/inspector/visual.c
+++ b/
gtk/inspector/visual.c
@@
-219,6
+219,10
@@
init_theme (GtkInspectorVisual *vis)
fill_gtk (path, t);
g_free (path);
+ path = g_build_filename (g_get_home_dir (), "themes", NULL);
+ fill_gtk (path, t);
+ g_free (path);
+
settings = g_settings_new ("org.gnome.desktop.interface");
current_theme = g_settings_get_string (settings, "gtk-theme");
g_object_unref (settings);